package com.cskaoyan.controller;

import com.cskaoyan.bean.BaseRespVo;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
public class UserController {

    @GetMapping("user")
    public BaseRespVo user() {
        return BaseRespVo.ok();
    }
    @PostMapping("user")
    public BaseRespVo user2(@RequestBody Map map) {
        return BaseRespVo.ok();
    }

}
